package com.moli.iov.notify.enums;


/**
 *
 * Notice status enum.
 *
 * @author OAK
 * @version 3.0
 * @since 2019/10/17 15:43 PM.
 */
public enum ActionEnum {

    /**
     * All to enabled or disabled sms and email.
     */
    A('a', "启用/禁用发送短信与电子邮件"),

    /**
     * enabled or disabled sms.
     */
    S('s', "启用/禁用发送短信"),

    /**
     * enabled or disabled email.
     */
    E('e', "启用/禁用发送电子邮件");

    /**
     * sms and email enabled or disabled status code.
     */
    private Character code;

    /**
     * sms and email enabled or disabled remark.
     */
    private String message;

    ActionEnum(Character code, String message){
        this.code = code;
        this.message = message;
    }

    public Character getCode() {
        return code;
    }

    public void setCode(Character code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
